﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home.master" AutoEventWireup="true" CodeFile="SaleList.aspx.cs" Inherits="SaleList" %>

<%@ Register Src="~/BaseRight.ascx" TagPrefix="uc1" TagName="BaseRight" %>
<%@ Register Src="~/AdvButton.ascx" TagPrefix="uc1" TagName="AdvButton" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="home" runat="Server">
    <div class="mark">
        <img src="images/home.png" /><span>您现在的位置：</span>
        <a href="Index.aspx">首页</a><font>></font><a href="#">房源列表</a>
        <div class="timeBox">今天是：<%= Sys.Common.StringHelper.TimeAndDayOfWeek() %></div>
    </div>
    <div class="main">
        <div class="leftBox">
            <div class="leftBoxTitle"><strong>房源列表</strong></div>
            <div class="leftBoxContent">
                <ul class="listPic5">
                    <asp:Repeater ID="rep_List" runat="server">
                        <ItemTemplate>
                            <li>
                                <table>
                                    <tr>
                                        <td>
                                            <a href="Sale.aspx?id=<%# Eval("ID") %>" class="title" target="_blank"><%# Eval("BuildingNameCH") %><%# String.IsNullOrEmpty(Eval("BuildingNameEng") as string)?string.Empty: "("+Eval("BuildingNameEng")+")"%></a>
                                            <p><span>單價：<%# Eval("AvgFeetPrice") %></span>&nbsp;&nbsp;&nbsp;<span>面積：<%# Eval("FeetNumber") %></span>&nbsp;&nbsp;&nbsp;<span>總價：<%# Eval("SellPrice") %></span>&nbsp;&nbsp;&nbsp;<span>租金：<%# Eval("RentPrice") %></span></p>
                                            <%--<p>备注：<%# Sys.Common.StringHelper.CutString(Sys.Common.StringHelper.NoHTML(Eval("Remark") as string),160) %></p>--%>
                                            <p><span>地址：<%# Eval("StreetNameCH") %></span>&nbsp<span><%# String.IsNullOrEmpty(Eval("StreetNum") as string)?string.Empty: Eval("StreetNum")+"號"%></span></p>
                                        </td>
                                        <td>
                                           <%# Eval("UpdateUser") %><br /><%# Eval("UpdateUserTel") %>
                                        </td>
                                    </tr>
                                </table>

                            </li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
                <Sys:Pager ID="Pager" runat="server" />
            </div>
        </div>
        <uc1:BaseRight runat="server" ID="BaseRight" />
    </div>
    <uc1:AdvButton runat="server" ID="AdvButton" />
</asp:Content>
